<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
</head>
<body>

<div id="app">
    <!--鼠标移入事件-->
    <input type="text" v-on:mouseover="demo02()">
</div>
<script>
    new Vue({
        el: "#app",
        methods: {
            demo02() {
                alert("鼠标悬停事件")
            }
        }
    })
</script>
</body>
</html>